<?php
	class monhoccontroller
	{
		public $monhoc_ma = "";
		public $monhoc_ten = "";
		public $monhoc_sotinchi = "";
		public $monhoc_sotiet_lt = "";
		public $monhoc_sotiet_th = "";
		public $monhoc_truoc = "";
		public $monhoc_tienquyet = "";
		public $monhoc_mabomon = "";	
	
		public function Them()
		{
			$data = new monhocdata();
			return $data->Them($this->monhoc_ma, $this->monhoc_ten, $this->monhoc_sotinchi, $this->monhoc_sotiet_lt, $this->monhoc_sotiet_th, $this->monhoc_truoc, $this->monhoc_tienquyet, $this->monhoc_mabomon);
		}
		
		public function CapNhat()
		{
			$data = new monhocdata();
			return $data->CapNhat($this->monhoc_ma, $this->monhoc_ten, $this->monhoc_sotinchi, $this->monhoc_sotiet_lt, $this->monhoc_sotiet_th, $this->monhoc_truoc, $this->monhoc_tienquyet, $this->monhoc_mabomon);
		}
		
		public function Xoa()
		{
			$data = new monhocdata();
			return $data->Xoa($this->monhoc_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new monhocdata();
			return $data->LayDanhSach($this->monhoc_ma);
		}
	}
?>